<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
    <%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
     <!-- 文章显示 -->
     <div class="span8" style='margin-left:0px;border:1px solid #ddd;' id="content" >
     <div class="panel-heading word tou"><strong>简介</strong></div>
        <div class=" contentwordcolor" style="padding:20px">
        
           <h3 align="center">${major.name }</h3>
           <hr>
           ${major.introduce }
       </div>
    </div><!-- end of 文章显示 -->
    
    <!-- 相似文档 -->
     <div class="span4"  id="body-content">
	    <div class="panel" > 
	        <div class="si panel-heading  word tou" >教学团队</div>
	      
                    <table class='table table-bordered table-condensed' style="background-color:#FAFAFA; text-algin:center;">
                       <c:forEach begin="1" end="${fn:length(teachers)}" step="4" varStatus="status">
                           <tr class="row-fluid">
                            <c:forEach items="${teachers }" var="teacher" begin="${(status.count-1)*4 }" end="${(status.count)*4-1 }">        
                               <td>
                                  <a href='<%=basePath %>teacherdw/detail/${teacher.id }'>${teacher.name }</a>
                               </td>
                          </c:forEach>
                      </tr>
                   </c:forEach>
                    </table>
                
       </div>    
    </div><!-- end of 相似文档 -->
